package drds.data_propagate.task.manager;

import drds.data_propagate.task.manager.model.TaskConfiguration;

import java.util.HashMap;
import java.util.Map;

public class TaskManagerImpl implements TaskManager {
    public static Map<String, TaskConfiguration> taskIdToTaskConfigurationMap = new HashMap<String, TaskConfiguration>();

    static {
        TaskConfiguration taskConfiguration = new TaskConfiguration();
        taskIdToTaskConfigurationMap.put("xsx", taskConfiguration);
    }

    public TaskConfiguration findTask(String taskId) {
        return taskIdToTaskConfigurationMap.get(taskId);
    }
    //
    //下面配置不同的任务信息
    //

}
